package repository

import (
	"context"
	"github.com/starmotioncf/soutchatinternal/model"
)

type OrderRepository interface {
	// Get 获取一个订单
	Get(ctx context.Context, orderNo string) (*model.Order, error)
	// PreCreate 预创建订单
	PreCreate(ctx context.Context, order *model.Order) error
}
